﻿<%@page pageEncoding="utf-8" %>
<%@include file="/util/tag.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <%@include file="../common/head.jsp"%>
    
    <body>
        <%@include file="../common/top.jsp"%>
        
        <div id="main">            
            <s:form action="" cssClass="main_form" theme="simple">
                <div class="text_info clearfix"><span>资费ID：</span></div>
                <div class="input_info"><input type="text" class="readonly" readonly value="${cost.id}" /></div>
                <div class="text_info clearfix"><span>资费名称：</span></div>
                <div class="input_info"><s:textfield cssClass="readonly" readonly="true" name="cost.name"></s:textfield>
                </div>
                <div class="text_info clearfix"><span>资费状态：</span></div>
                <div class="input_info">
                    <s:select list="statusOptions" name="cost.status" disabled="true" cssClass="readonly"></s:select>                     
                </div>
                <div class="text_info clearfix"><span>资费类型：</span></div>
                <div class="input_info fee_type">
                    <input type="radio" name="radFeeType" id="monthly" disabled="disabled"
                    <s:if test="cost.type==1">checked</s:if>/>
                    <label for="monthly">包月</label>
                    <input type="radio" name="radFeeType" id="package" disabled="disabled" 
                    <s:if test="cost.type==2">checked</s:if>/>
                    <label for="package">套餐</label>
                    <input type="radio" name="radFeeType" id="timeBased" disabled="disabled" 
                    <s:if test="cost.type==3">checked</s:if>/>
                    <label for="timeBased">计时</label>
                </div>
                <div class="text_info clearfix"><span>基本时长：</span></div>
                <div class="input_info">
                    <s:textfield cssClass="readonly" readonly="true" name="cost.baseDuration"/>
                    <span>小时</span>
                </div>
                <div class="text_info clearfix"><span>基本费用：</span></div>
                <div class="input_info">
                			<s:textfield cssClass="readonly" readonly="true" name="cost.baseCost"/>
                    <span>元</span>
                </div>
                <div class="text_info clearfix"><span>单位费用：</span></div>
                <div class="input_info">
                			<s:textfield cssClass="readonly" readonly="true" name="cost.unitCost"/>
                    <span>元/小时</span>
                </div>
                <div class="text_info clearfix"><span>创建时间：</span></div>
                <div class="input_info"><input type="text"  class="readonly" readonly value="<s:property value="cost.createTime"/>" /></div>      
                <div class="text_info clearfix"><span>启动时间：</span></div>
                <div class="input_info"><input type="text"  class="readonly" readonly value="<s:property value="cost.startTime"/>" /></div>      
                <div class="text_info clearfix"><span>资费说明：</span></div>
                <div class="input_info_high">
                    <textarea class="width300 height70 readonly" readonly><s:property value="cost.descr"/></textarea>
                </div>                    
                <div class="button_info clearfix">
                    <input type="button" value="返回" class="btn_save" onclick="location.href='list?order=${order }&seq=${seq}&page=${page}';" />
                </div>
            </s:form>  
        </div>
        
       <%@include file="../common/bottom.jsp"%>
    </body>
</html>
